home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Stacks / Hyper Business / Time & Date Stuff / Ron's To Do / TO DO Archives / background_4023.txt < prev    next >
Encoding:
Text File  |  1988-02-25  |  14.3 KB  |  670 lines

  1. -- background: 4023 from stack: in
  2. -- bmap block id: 4326
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: Reminder
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: 0000
  11. -- rect: left=229 top=21 right=44 bottom=254
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 1013 / 1013
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Next
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   -- confines cycling to this background only
  23.   go to next card of this bkgnd
  24. end mouseUp
  25.  
  26.  
  27.  
  28. -- part 2 (button)
  29. -- low flags: 00
  30. -- high flags: 0000
  31. -- rect: left=203 top=21 right=44 bottom=229
  32. -- title width / last selected line: 0
  33. -- icon id / first selected line: 1014 / 1014
  34. -- text alignment: 1
  35. -- font id: 0
  36. -- text size: 12
  37. -- style flags: 0
  38. -- line height: 16
  39. -- part name: Prev
  40. ----- HyperTalk script -----
  41. on mouseUp
  42.   go to prev card of this bkgnd
  43. end mouseUp
  44.  
  45.  
  46.  
  47. -- part 3 (button)
  48. -- low flags: 00
  49. -- high flags: 0000
  50. -- rect: left=259 top=19 right=47 bottom=296
  51. -- title width / last selected line: 0
  52. -- icon id / first selected line: 1012 / 1012
  53. -- text alignment: 1
  54. -- font id: 0
  55. -- text size: 12
  56. -- style flags: 0
  57. -- line height: 16
  58. -- part name: To To Do
  59. ----- HyperTalk script -----
  60. on mouseUp
  61.   SET HILITE OF BACKGROUND BUTTON ID 24 TO FALSE
  62.   SET HILITE OF BACKGROUND BUTTON ID 25 TO FALSE
  63.   SET HILITE OF BACKGROUND BUTTON ID 26 TO FALSE
  64.   SET HILITE OF BACKGROUND BUTTON ID 27 TO FALSE
  65.   go to first card
  66. end mouseUp
  67.  
  68.  
  69.  
  70. -- part 4 (button)
  71. -- low flags: 00
  72. -- high flags: 0000
  73. -- rect: left=470 top=18 right=51 bottom=511
  74. -- title width / last selected line: 0
  75. -- icon id / first selected line: 30696 / 30696
  76. -- text alignment: 1
  77. -- font id: 0
  78. -- text size: 12
  79. -- style flags: 0
  80. -- line height: 16
  81. -- part name: Dial
  82. ----- HyperTalk script -----
  83. on mouseUp
  84.   get the selection
  85.   if it is empty then ask "Dial what number?"
  86.   if it is not empty then
  87.     push this card
  88.     visual effect zoom open
  89.     go to stack "Phone"
  90.     dial it
  91.     pop card
  92.   end if
  93. end mouseUp
  94.  
  95.  
  96.  
  97. -- part 5 (button)
  98. -- low flags: 00
  99. -- high flags: 0000
  100. -- rect: left=423 top=17 right=52 bottom=462
  101. -- title width / last selected line: 0
  102. -- icon id / first selected line: 17481 / 17481
  103. -- text alignment: 1
  104. -- font id: 0
  105. -- text size: 12
  106. -- style flags: 0
  107. -- line height: 16
  108. -- part name: To Address
  109. ----- HyperTalk script -----
  110. on mouseUp
  111.   get the selection
  112.   push card
  113.   visual effect zoom open
  114.   go to stack "Address"
  115.   if it is not empty then find it
  116. end mouseUp
  117.  
  118.  
  119.  
  120. -- part 6 (button)
  121. -- low flags: 00
  122. -- high flags: 8000
  123. -- rect: left=456 top=68 right=120 bottom=497
  124. -- title width / last selected line: 0
  125. -- icon id / first selected line: 20186 / 20186
  126. -- text alignment: 1
  127. -- font id: 0
  128. -- text size: 12
  129. -- style flags: 0
  130. -- line height: 16
  131. -- part name: Sort
  132. ----- HyperTalk script -----
  133. on mouseUp
  134.   sort dateTime by field "FollowUpDate"
  135. end mouseUp
  136.  
  137.  
  138.  
  139. -- part 7 (button)
  140. -- low flags: 00
  141. -- high flags: 8003
  142. -- rect: left=435 top=247 right=270 bottom=512
  143. -- title width / last selected line: 0
  144. -- icon id / first selected line: 0 / 0
  145. -- text alignment: 1
  146. -- font id: 0
  147. -- text size: 12
  148. -- style flags: 0
  149. -- line height: 16
  150. -- part name: Carry Over
  151. ----- HyperTalk script -----
  152. on mouseUp
  153.   -- adds one day to date field
  154.   convert the date to seconds
  155.   add (24*60*60) to it
  156.   convert it to long date
  157.   put it into field "FollowUpDate"
  158. end mouseUp
  159.  
  160.  
  161.  
  162. -- part 8 (button)
  163. -- low flags: 00
  164. -- high flags: 8003
  165. -- rect: left=436 top=277 right=300 bottom=511
  166. -- title width / last selected line: 0
  167. -- icon id / first selected line: 0 / 0
  168. -- text alignment: 1
  169. -- font id: 0
  170. -- text size: 12
  171. -- style flags: 0
  172. -- line height: 16
  173. -- part name: Done
  174. ----- HyperTalk script -----
  175. on mouseUp
  176.   if field "Completed" is not empty then
  177.     beep
  178.     exit mouseUp
  179.   else put the abbr date & " at " & the time into field "Completed"
  180. end mouseUp
  181.  
  182.  
  183.  
  184. -- part 9 (field)
  185. -- low flags: 00
  186. -- high flags: 4000
  187. -- rect: left=135 top=63 right=79 bottom=367
  188. -- title width / last selected line: 0
  189. -- icon id / first selected line: 0 / 0
  190. -- text alignment: 0
  191. -- font id: 3
  192. -- text size: 12
  193. -- style flags: 0
  194. -- line height: 16
  195. -- part name: FollowUpDate
  196. ----- HyperTalk script -----
  197. on closeField
  198.   convert field "FollowUpDate" to long date
  199. end closeField
  200.  
  201.  
  202.  
  203. -- part 10 (field)
  204. -- low flags: 00
  205. -- high flags: 4000
  206. -- rect: left=97 top=82 right=98 bottom=368
  207. -- title width / last selected line: 0
  208. -- icon id / first selected line: 0 / 0
  209. -- text alignment: 0
  210. -- font id: 3
  211. -- text size: 12
  212. -- style flags: 0
  213. -- line height: 16
  214. -- part name: Abstract
  215.  
  216.  
  217. -- part 11 (field)
  218. -- low flags: 00
  219. -- high flags: 4000
  220. -- rect: left=36 top=135 right=291 bottom=435
  221. -- title width / last selected line: 0
  222. -- icon id / first selected line: 0 / 0
  223. -- text alignment: 0
  224. -- font id: 3
  225. -- text size: 10
  226. -- style flags: 0
  227. -- line height: 13
  228. -- part name: Detail
  229.  
  230.  
  231. -- part 12 (field)
  232. -- low flags: 00
  233. -- high flags: 4000
  234. -- rect: left=209 top=294 right=311 bottom=435
  235. -- title width / last selected line: 0
  236. -- icon id / first selected line: 0 / 0
  237. -- text alignment: 0
  238. -- font id: 3
  239. -- text size: 12
  240. -- style flags: 0
  241. -- line height: 16
  242. -- part name: DateCreated
  243.  
  244.  
  245. -- part 13 (field)
  246. -- low flags: 00
  247. -- high flags: 4000
  248. -- rect: left=209 top=314 right=331 bottom=435
  249. -- title width / last selected line: 0
  250. -- icon id / first selected line: 0 / 0
  251. -- text alignment: 0
  252. -- font id: 3
  253. -- text size: 12
  254. -- style flags: 0
  255. -- line height: 16
  256. -- part name: Completed
  257.  
  258.  
  259. -- part 14 (button)
  260. -- low flags: 00
  261. -- high flags: 0000
  262. -- rect: left=455 top=312 right=342 bottom=493
  263. -- title width / last selected line: 0
  264. -- icon id / first selected line: 21700 / 21700
  265. -- text alignment: 1
  266. -- font id: 0
  267. -- text size: 12
  268. -- style flags: 0
  269. -- line height: 16
  270. -- part name: Home
  271. ----- HyperTalk script -----
  272. on mouseUp
  273.   play "harpsichord" tempo 200 "g6e e"
  274.   answer "What'll it be?" with "Go Home" or "Quit" or "Cancel"
  275.   if it = "go home" then
  276.     go to card "good bye"
  277.     go home
  278.   end if
  279.   if it = "quit" then
  280.     domenu "quit hypercard"
  281.     go to card "good bye"
  282.   end if
  283. end mouseUp
  284.  
  285.  
  286.  
  287.  
  288. -- part 15 (button)
  289. -- low flags: 00
  290. -- high flags: 0000
  291. -- rect: left=448 top=136 right=171 bottom=503
  292. -- title width / last selected line: 0
  293. -- icon id / first selected line: 0 / 0
  294. -- text alignment: 1
  295. -- font id: 0
  296. -- text size: 12
  297. -- style flags: 0
  298. -- line height: 16
  299. -- part name: Delete card
  300. ----- HyperTalk script -----
  301. on mouseUp
  302.   push this card
  303.   doMenu Copy Card
  304.   set lockScreen to true
  305.   go stack TO DO Archives
  306.   go last card
  307.   doMenu Paste Card
  308.   pop card
  309.   set lockScreen to false
  310.   doMenu Delete Card
  311. end mouseUp
  312.  
  313.  
  314.  
  315. -- part 17 (button)
  316. -- low flags: 00
  317. -- high flags: 0000
  318. -- rect: left=19 top=61 right=77 bottom=73
  319. -- title width / last selected line: 0
  320. -- icon id / first selected line: 0 / 0
  321. -- text alignment: 1
  322. -- font id: 0
  323. -- text size: 12
  324. -- style flags: 0
  325. -- line height: 16
  326. -- part name: Today's Date
  327. ----- HyperTalk script -----
  328. on mouseUp
  329.   Get the long date
  330.   put it into field "FollowUpDate"
  331. end mouseUp
  332.  
  333.  
  334.  
  335. -- part 18 (button)
  336. -- low flags: 00
  337. -- high flags: 0000
  338. -- rect: left=97 top=295 right=312 bottom=140
  339. -- title width / last selected line: 0
  340. -- icon id / first selected line: 0 / 0
  341. -- text alignment: 1
  342. -- font id: 0
  343. -- text size: 12
  344. -- style flags: 0
  345. -- line height: 16
  346. -- part name: Today's Date
  347. ----- HyperTalk script -----
  348. on mouseUp
  349.   Get the long date
  350.   put it into field "DateCreated"
  351. end mouseUp
  352.  
  353.  
  354.  
  355. -- part 19 (button)
  356. -- low flags: 00
  357. -- high flags: 0000
  358. -- rect: left=315 top=17 right=45 bottom=368
  359. -- title width / last selected line: 0
  360. -- icon id / first selected line: 0 / 0
  361. -- text alignment: 1
  362. -- font id: 0
  363. -- text size: 12
  364. -- style flags: 0
  365. -- line height: 16
  366. -- part name: To Remember
  367. ----- HyperTalk script -----
  368. on mouseUp
  369.   go to last card of background "Reminder"
  370.   doMenu New Card
  371.   Get the long date
  372.   put it into field "DateCreated"
  373.  
  374. end mouseUp
  375.  
  376.  
  377.  
  378. -- part 20 (button)
  379. -- low flags: 00
  380. -- high flags: 0000
  381. -- rect: left=2 top=49 right=65 bottom=18
  382. -- title width / last selected line: 0
  383. -- icon id / first selected line: 16692 / 16692
  384. -- text alignment: 1
  385. -- font id: 0
  386. -- text size: 12
  387. -- style flags: 0
  388. -- line height: 16
  389. -- part name: Inc+1
  390. ----- HyperTalk script -----
  391. on mouseUp
  392.   get line 1 of background field "followUpDate"
  393.   put it into date1
  394.   convert date1 to dateItems
  395.   put item 3 of date1 + 1 into item 3 of date1
  396.   convert date1 to long date
  397.   put date1 into line 1 of background field "followUpDate"
  398. end mouseUp
  399.  
  400.  
  401.  
  402.  
  403. -- part 21 (button)
  404. -- low flags: 00
  405. -- high flags: 0000
  406. -- rect: left=2 top=75 right=91 bottom=18
  407. -- title width / last selected line: 0
  408. -- icon id / first selected line: 3584 / 3584
  409. -- text alignment: 1
  410. -- font id: 0
  411. -- text size: 12
  412. -- style flags: 0
  413. -- line height: 16
  414. -- part name: Dec-1
  415. ----- HyperTalk script -----
  416. on mouseUp
  417.   get line 1 of background field "followUpDate"
  418.   put it into date1
  419.   convert date1 to dateItems
  420.   put item 3 of date1 - 1 into item 3 of date1
  421.   convert date1 to long date
  422.   put date1 into line 1 of background field "followUpDate"
  423. end mouseUp
  424.  
  425.  
  426.  
  427.  
  428.  
  429. -- part 22 (button)
  430. -- low flags: 00
  431. -- high flags: 8000
  432. -- rect: left=3 top=64 right=76 bottom=17
  433. -- title width / last selected line: 0
  434. -- icon id / first selected line: 0 / 0
  435. -- text alignment: 1
  436. -- font id: 0
  437. -- text size: 12
  438. -- style flags: 0
  439. -- line height: 16
  440. -- part name: •
  441. ----- HyperTalk script -----
  442. on mouseUp
  443.   get line 1 of background field "followUpDate"
  444.   put it into date1
  445.   convert date1 to dateItems
  446.   if the optionKey is down then
  447.     put item 3 of date1 into changemo
  448.     put item 3 of date1 - 7 into item 3 of date1
  449.     if item 3 of date1 < 0 then
  450.       put 0 into item 3 of date1
  451.       convert date1 to long date
  452.       put date1 into line 1 of background field "followUpDate"
  453.  
  454.       get line 1 of background field "followUpDate"
  455.       put it into date1
  456.       convert date1 to dateItems
  457.       put item 3 of date1 - (7-changemo) into item 3 of date1
  458.       convert date1 to long date
  459.       put date1 into line 1 of background field "followUpDate"
  460.     else
  461.     end if
  462.   else
  463.     put item 3 of date1 + 7 into item 3 of date1
  464.   end if
  465.   convert date1 to long date
  466.   put date1 into line 1 of background field "followUpDate"
  467. end mouseUp
  468.  
  469.  
  470.  
  471.  
  472. -- part 24 (button)
  473. -- low flags: 00
  474. -- high flags: 0000
  475. -- rect: left=208 top=5 right=18 bottom=226
  476. -- title width / last selected line: 0
  477. -- icon id / first selected line: 0 / 0
  478. -- text alignment: 1
  479. -- font id: 0
  480. -- text size: 12
  481. -- style flags: 0
  482. -- line height: 16
  483. -- part name: New Button
  484. ----- HyperTalk script -----
  485. on mouseUp
  486.   SET HILITE OF BACKGROUND BUTTON ID 24 TO FALSE
  487.   SET HILITE OF BACKGROUND BUTTON ID 25 TO FALSE
  488.   SET HILITE OF BACKGROUND BUTTON ID 26 TO FALSE
  489.   SET HILITE OF BACKGROUND BUTTON ID 27 TO FALSE
  490.   GO CARD 1
  491. end mouseUp
  492.  
  493.  
  494.  
  495. -- part 25 (button)
  496. -- low flags: 00
  497. -- high flags: 0000
  498. -- rect: left=229 top=5 right=18 bottom=247
  499. -- title width / last selected line: 0
  500. -- icon id / first selected line: 0 / 0
  501. -- text alignment: 1
  502. -- font id: 0
  503. -- text size: 12
  504. -- style flags: 0
  505. -- line height: 16
  506. -- part name: New Button
  507. ----- HyperTalk script -----
  508. on mouseUp
  509.   SET HILITE OF BACKGROUND BUTTON ID 24 TO FALSE
  510.   SET HILITE OF BACKGROUND BUTTON ID 25 TO FALSE
  511.   SET HILITE OF BACKGROUND BUTTON ID 26 TO FALSE
  512.   SET HILITE OF BACKGROUND BUTTON ID 27 TO FALSE
  513.   GO CARD 2
  514. end mouseUp
  515.  
  516.  
  517.  
  518. -- part 26 (button)
  519. -- low flags: 00
  520. -- high flags: 0000
  521. -- rect: left=250 top=5 right=18 bottom=268
  522. -- title width / last selected line: 0
  523. -- icon id / first selected line: 0 / 0
  524. -- text alignment: 1
  525. -- font id: 0
  526. -- text size: 12
  527. -- style flags: 0
  528. -- line height: 16
  529. -- part name: New Button
  530. ----- HyperTalk script -----
  531. on mouseUp
  532.   SET HILITE OF BACKGROUND BUTTON ID 24 TO FALSE
  533.   SET HILITE OF BACKGROUND BUTTON ID 25 TO FALSE
  534.   SET HILITE OF BACKGROUND BUTTON ID 26 TO FALSE
  535.   SET HILITE OF BACKGROUND BUTTON ID 27 TO FALSE
  536.   GO CARD 3
  537. end mouseUp
  538.  
  539.  
  540.  
  541. -- part 27 (button)
  542. -- low flags: 00
  543. -- high flags: 0000
  544. -- rect: left=271 top=5 right=18 bottom=289
  545. -- title width / last selected line: 0
  546. -- icon id / first selected line: 0 / 0
  547. -- text alignment: 1
  548. -- font id: 0
  549. -- text size: 12
  550. -- style flags: 0
  551. -- line height: 16
  552. -- part name: New Button
  553. ----- HyperTalk script -----
  554. on mouseUp
  555.   SET HILITE OF BACKGROUND BUTTON ID 24 TO FALSE
  556.   SET HILITE OF BACKGROUND BUTTON ID 25 TO FALSE
  557.   SET HILITE OF BACKGROUND BUTTON ID 26 TO FALSE
  558.   SET HILITE OF BACKGROUND BUTTON ID 27 TO FALSE
  559.   GO CARD 4
  560. end mouseUp
  561.  
  562.  
  563.  
  564. -- part 28 (button)
  565. -- low flags: 00
  566. -- high flags: 0000
  567. -- rect: left=374 top=16 right=44 bottom=412
  568. -- title width / last selected line: 0
  569. -- icon id / first selected line: 0 / 0
  570. -- text alignment: 1
  571. -- font id: 0
  572. -- text size: 12
  573. -- style flags: 0
  574. -- line height: 16
  575. -- part name: Finished
  576. ----- HyperTalk script -----
  577. on mouseUp
  578.   go to stack TO DO Archives
  579. end mouseUp
  580.  
  581.  
  582. -- part 29 (field)
  583. -- low flags: 00
  584. -- high flags: 4000
  585. -- rect: left=97 top=101 right=117 bottom=125
  586. -- title width / last selected line: 0
  587. -- icon id / first selected line: 0 / 0
  588. -- text alignment: 1
  589. -- font id: 3
  590. -- text size: 12
  591. -- style flags: 0
  592. -- line height: 16
  593. -- part name: Priority
  594.  
  595.  
  596. -- part 30 (button)
  597. -- low flags: 00
  598. -- high flags: 8002
  599. -- rect: left=129 top=102 right=118 bottom=147
  600. -- title width / last selected line: 0
  601. -- icon id / first selected line: 0 / 0
  602. -- text alignment: 1
  603. -- font id: 0
  604. -- text size: 12
  605. -- style flags: 0
  606. -- line height: 16
  607. -- part name: A
  608. ----- HyperTalk script -----
  609. on mouseUp
  610.   put "A" into field "Priority"
  611. end mouseUp
  612.  
  613.  
  614.  
  615. -- part 31 (button)
  616. -- low flags: 00
  617. -- high flags: 8002
  618. -- rect: left=146 top=102 right=118 bottom=164
  619. -- title width / last selected line: 0
  620. -- icon id / first selected line: 0 / 0
  621. -- text alignment: 1
  622. -- font id: 0
  623. -- text size: 12
  624. -- style flags: 0
  625. -- line height: 16
  626. -- part name: B
  627. ----- HyperTalk script -----
  628. on mouseUp
  629.   put "B" into field "Priority"
  630. end mouseUp
  631.  
  632.  
  633.  
  634. -- part 32 (button)
  635. -- low flags: 00
  636. -- high flags: 8002
  637. -- rect: left=163 top=102 right=118 bottom=181
  638. -- title width / last selected line: 0
  639. -- icon id / first selected line: 0 / 0
  640. -- text alignment: 1
  641. -- font id: 0
  642. -- text size: 12
  643. -- style flags: 0
  644. -- line height: 16
  645. -- part name: C
  646. ----- HyperTalk script -----
  647. on mouseUp
  648.   put "C" into field "Priority"
  649. end mouseUp
  650.  
  651.  
  652.  
  653. -- part 35 (button)
  654. -- low flags: 00
  655. -- high flags: 0000
  656. -- rect: left=460 top=183 right=217 bottom=499
  657. -- title width / last selected line: 0
  658. -- icon id / first selected line: 32670 / 32670
  659. -- text alignment: 1
  660. -- font id: 0
  661. -- text size: 12
  662. -- style flags: 0
  663. -- line height: 16
  664. -- part name: 
  665. ----- HyperTalk script -----
  666. on mouseUp
  667.   show all cards
  668. end mouseUp
  669.  
  670.